import request from '@/utils/request'

// 查询biz_回收分类列表
export function listRecycleCategory(query) {
  return request({
    url: '/biz/recycleStoreCategory/list',
    method: 'get',
    params: query
  })
}

// 查询biz_回收分类详细
export function getRecycleCategory(id) {
  return request({
    url: '/biz/recycleStoreCategory/' + id,
    method: 'get'
  })
}

// 新增biz_回收分类
export function addRecycleCategory(data) {
  return request({
    url: '/biz/recycleStoreCategory',
    method: 'post',
    data: data
  })
}

// 修改biz_回收分类
export function updateRecycleCategory(data) {
  return request({
    url: '/biz/recycleStoreCategory',
    method: 'put',
    data: data
  })
}

// 删除biz_回收分类
export function delRecycleCategory(id) {
  return request({
    url: '/biz/recycleStoreCategory/' + id,
    method: 'delete'
  })
}
